﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EPiServer.XmlRpc;

namespace TemplateFoundation.MetaWeblog
{
    /// <summary>
    /// Represents a category over MetaWeblog
    /// </summary>
    public class CategoryData
    {
        /// <summary>
        /// Category ID
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public string categoryId;

        /// <summary>
        /// Category name
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public string categoryName;

        /// <summary>
        /// Category description
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public string description;

        /// <summary>
        /// URL
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public string htmlUrl;

        /// <summary>
        /// Name
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public string name;

        /// <summary>
        /// Parent ID
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public string parent_id;

        /// <summary>
        /// Parent ID
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public int parentId;

        /// <summary>
        /// RSS URL
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public string rssUrl;

        /// <summary>
        /// Slug
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public string slug;

        /// <summary>
        /// Title
        /// </summary>
        [XmlRpcMissingMapping(MappingAction.Ignore)]
        public string title;
    }
}
